package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户签到信息对象 t_user_sign
 * 
 * @author ruoyi
 * @date 2024-06-10
 */
public class TUserSign extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 签到表id */
    private Long id;

    /** 签到用户id */
    @Excel(name = "签到用户id")
    private Long userId;

    /** 签到时间（年七日） */
    @Excel(name = "签到时间", readConverterExp = "年=七日")
    private String signTime;

    /** 年月 */
    @Excel(name = "年月")
    private String signMonth;

    /** 获得奖励钱 */
    @Excel(name = "获得奖励钱")
    private BigDecimal money;

    /** 连续签到奖励 */
    @Excel(name = "连续签到奖励")
    private BigDecimal continuouSign;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setSignTime(String signTime) 
    {
        this.signTime = signTime;
    }

    public String getSignTime() 
    {
        return signTime;
    }
    public void setSignMonth(String signMonth) 
    {
        this.signMonth = signMonth;
    }

    public String getSignMonth() 
    {
        return signMonth;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }
    public void setContinuouSign(BigDecimal continuouSign) 
    {
        this.continuouSign = continuouSign;
    }

    public BigDecimal getContinuouSign() 
    {
        return continuouSign;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("signTime", getSignTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("signMonth", getSignMonth())
            .append("money", getMoney())
            .append("continuouSign", getContinuouSign())
            .toString();
    }
}
